<template>
  <div>
    <h3>父组件--{{ num }}--{{ num1 }}</h3>
    <son :a.sync="num" :b.sync="num1" />
  </div>
</template>

<script>
import son from './son.vue'
export default {
  components: { son },
  data() {
    return {
      num: 100,
      num1: 200
    }
  },
  methods: {
    doClick() {
      this.num++
    }
  }
}
</script>

<style>

</style>
